package com.huynhchihieu.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQuery;


/**
 * The persistent class for the sinhvien database table.
 * 
 */
@Entity
@NamedQuery(name="Sinhvien.findAll", query="SELECT s FROM Sinhvien s")
public class Sinhvien implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private Integer id;

	@Column(name="id_lop")
	private Integer idLop;

	private String tensv;

	public Sinhvien() {
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getIdLop() {
		return this.idLop;
	}

	public void setIdLop(Integer idLop) {
		this.idLop = idLop;
	}

	public String getTensv() {
		return this.tensv;
	}

	public void setTensv(String tensv) {
		this.tensv = tensv;
	}

}